// antd 配置
const ANTD = {
  primary: {
    color: '#49a9ff',
    warning: '#ffc352',
    success: '#75ff31',
    error: '#ff3c46',
    light: {
      menuColors: ['#000c17', '#001529', '#002140']
    },
    dark: {
      // 侧边栏展开、侧边栏、左侧logo背景色
      menuColors: ['#071932', '#002142', '#003463']
    },
    night: {
      menuColors: ['#151515', '#1f1f1f', '#1e1e1e'],
    }
  },
  theme: {
    dark: {
      // 背景颜色
      'layout-body-background': '#000',
      // 卡片颜色
      'body-background': 'rgb(12, 55, 134)',
      'component-background': 'rgba(0,0,0,0.2)',
      'heading-color': 'rgb(255,255,255)',
      'text-color': 'rgb(255,255,255)',
      // 反向
      'text-color-inverse': '#00f7ff',
      // 第二
      'text-color-secondary': 'rgb(179,248,248)',
      'shadow-color': 'rgba(0, 0, 0, 0.15)',
      // 分割
      'border-color-split': 'rgb(48,100,236)',
      'background-color-light': '#1c7bec',
      'background-color-base': '#006b93',
      // 被选择表格行的背景色
      'table-selected-row-bg': '#5ae6ff',
      // 扩大
      'table-expanded-row-bg': '#5ae6ff',
      'checkbox-check-color': '#5ae6ff',
      'disabled-color': 'rgb(255,255,255)',
      // 侧边栏按钮未选中时的颜色
      'menu-dark-color': '#5ae6ff',
      'menu-dark-highlight-color': '#c1ecff',
      'menu-dark-arrow-color': '#32a6ff',
      // 侧边栏选中时颜色
      'btn-primary-color': '#fff',
    },
    light: {
      'layout-body-background': '#f0f2f5',
      'body-background': '#fff',
      'component-background': '#fff',
      'heading-color': 'rgba(0, 0, 0, 0.85)',
      'text-color': 'rgba(0, 0, 0, 0.65)',
      'text-color-inverse': '#fff',
      'text-color-secondary': 'rgba(0, 0, 0, 0.45)',
      'shadow-color': 'rgba(0, 0, 0, 0.15)',
      'border-color-split': '#f0f0f0',
      'background-color-light': '#fafafa',
      'background-color-base': '#f5f5f5',
      'table-selected-row-bg': '#fafafa',
      'table-expanded-row-bg': '#fbfbfb',
      'checkbox-check-color': '#fff',
      'disabled-color': 'rgba(255,255,255,0.25)',
      'menu-dark-color': 'rgba(1, 1, 1, 0.65)',
      'menu-dark-highlight-color': '#fefefe',
      'menu-dark-arrow-color': '#fefefe',
      'btn-primary-color': '#fff',
    },
    night: {
      'layout-body-background': '#000',
      'body-background': '#141414',
      'component-background': '#141414',
      'heading-color': 'rgba(255, 255, 255, 0.85)',
      'text-color': 'rgba(255,255,255,1)',
      'text-color-inverse': '#141414',
      'text-color-secondary': 'rgba(255,255,255,1)',
      'shadow-color': 'rgba(255, 255, 255, 0.15)',
      'border-color-split': '#ffffff',
      'background-color-light': 'rgba(255,255,255,0.04)',
      'background-color-base': '#2a2a2a',
      'table-selected-row-bg': 'rgba(255,255,255,0.04)',
      'table-expanded-row-bg': '#ffffff0b',
      'checkbox-check-color': '#141414',
      'disabled-color': 'rgba(255,255,255,1)',
      'menu-dark-color': 'rgba(254,254,254,1)',
      'menu-dark-highlight-color': '#fefefe',
      'menu-dark-arrow-color': '#fefefe',
      'btn-primary-color': '#141414',
    }
  }
}
module.exports = ANTD
